package com.example.echarts.controller;


import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.example.echarts.service.IComparisonTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author xiaowei
 * @since 2022-05-07
 */
@RestController
@RequestMapping("/comparisonTable")
public class ComparisonTableController {
       @Autowired
       IComparisonTableService iComparisonTableService;
       @RequestMapping("getall")
       public Object getall(){
           return iComparisonTableService.getBaseMapper().selectList(Wrappers.lambdaQuery());
       }

}

